<?php $view->extend('layout_admin.php') ?>
<section class="content-header">
    <h1>
        Transfert refugié
        <small>Nouveau</small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Transfert refugié</a></li>
        <li class="active">Nouveau</li>
    </ol>
</section>
<div class="row">
    <div class="col-12">
    <h1>transfert refugié</h1>
    <form name="transfert" action="<?php echo $view['router']->generate('admin_transfert_refugie') ?>" method="POST">
        Camps:<br>
        <select name="id_camps">
        <?php
            foreach ($camps as $camp) {
        ?>
            <option value="<?php echo $camp->getId() ?>"><?php echo $camp->getVille() ?></option>
        <?php
            }
        ?>
        </select>
        <br>
        Refugies:<br>
        <select name="id_refugie">
        <?php
            foreach ($refugies as $refugie) {
        ?>
            <option value="<?php echo $refugie->getId() ?>"><?php echo $refugie->getNom() ?></option>
        <?php
            }
        ?>
        </select>
        <br>
        <br>
        <input type="submit" value="Ajouter">
    </form>
    </div>
</div>
